package org.middleware.mapper.system;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.middleware.entity.system.SysSystems;
import org.middleware.entity.system.SysUsers;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* @author zhiqiangwu
* @description 针对表【sys_systems(系统/服务表)】的数据库操作Mapper
* @createDate 2025-09-05 16:40:01
* @Entity generator.domain.SysSystems
*/
@Mapper
@Repository
public interface SysSystemsMapper {
    public List<SysSystems> getAllSystems();

    public List<SysSystems> getSystemsByName(@Param("name") String name);

    public int create(SysSystems system);

    public int update(SysSystems systems);

    public int delete(int id);

    public List<SysSystems> getSubscribers(SysUsers user);
}




